package com.css.fghs.entity.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class LoginReqVO {

    @Schema(description = "登录账号")
    @NotEmpty(message = "用户登录账号不能为空")
    private String phone;

    @Schema(description = "用户类型")
    @NotEmpty(message = "用户类型不能为空")
    private String yhlx;

    @Schema(description = "密码")
    @NotEmpty(message = "密码不能为空")
    private String password;

    @Schema(description = "密码2,修改新密码")
    /*@NotEmpty(message = "密码不能为空")*/
    private String password2;

    private String sms;

}
